package com.topvision.service.impl.glass;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.glass.LauncherMapper;
import com.topvision.model.glass.Launcher;
import com.topvision.service.glass.LauncherService;

@Service("launcherService")
public class LauncherServiceImpl implements LauncherService {
	@Autowired
	private LauncherMapper launcherMapper;
	
	@Override
	public Launcher queryObject(Integer id){
		return launcherMapper.queryObject(id);
	}
	
	@Override
	public List<Launcher> queryList(Map<String, Object> map){
		return launcherMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return launcherMapper.queryTotal(map);
	}
	
	@Override
	public void save(Launcher launcher){
		launcherMapper.save(launcher);
	}
	
	@Override
	public void update(Launcher launcher){
		launcherMapper.update(launcher);
	}
	
	@Override
	public void delete(Integer id){
		launcherMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		launcherMapper.deleteBatch(ids);
	}

    @Override
    public Launcher queryObjectByMap(Map<String, Object> map){
        return launcherMapper.queryObjectByMap(map);
    }

    @Override
    public List<Launcher> queryByParam(Map<String, Object> map){
        return launcherMapper.queryByParam(map);
    }
}
